<%= simple_form_for(current_user, remote: true) do |f| %>
  <%= f.error_notification %>
  <%= f.input :nickname, :required => true, :autofocus => true, label: '昵称' %>
  <%= f.input :password, :required => true, label: '密码' %>
  <div class="form-actions">
    <%= f.button :submit, "保存" %>
  </div>
<% end %>
<%= javascript_include_tag "prevent_label.js" %>